package com.beetlestech.nfe.main.biz.com.dto;

import com.beetlestech.nfe.main.db.tbl.MstcatagorycDTO;
import com.beetlestech.nfe.main.db.tbl.TeachercourseDTO;


@com.beetlestech.nfe.fw.core.type.AliasKanJi("")
public class TeacherInfoDTO implements java.io.Serializable, Comparable<TeacherInfoDTO> {
	private static final long serialVersionUID = 1L;
	
	private Integer usrid = null;
	

	
	private String username = null;
	
	private String realname =null;
	
	private String password =null;
	
	private MstcatagorycDTO[] catagorycDTO= null;
	
	private TeachercourseDTO[] tCatagorycDTO=null;
	
	
	
	public Integer getUsrid() {
		return usrid;
	}

	public void setUsrid(Integer usrid) {
		this.usrid = usrid;
	}
	
	public String getusername() {
		return this.username;
	}

	public void setusername(
			String username) {
		this.username = username;
	}
	
	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public MstcatagorycDTO[] getCatagorycDTO() {
		return catagorycDTO;
	}

	public void setCatagorycDTO(MstcatagorycDTO[] catagorycDTO) {
		this.catagorycDTO = catagorycDTO;
	}
	
	

	public TeachercourseDTO[] gettCatagorycDTO() {
		return tCatagorycDTO;
	}

	public void settCatagorycDTO(TeachercourseDTO[] tCatagorycDTO) {
		this.tCatagorycDTO = tCatagorycDTO;
	}

	
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	/* (non-Javadoc)
     * @see java.lang.Comparable#compareTo(java.lang.Object)
     */
    @Override
    public int compareTo(
    		TeacherInfoDTO compareToDTO) {
        return this.equals(compareToDTO) ? 0 : -1;
    }
}
